{include file="layout/header"  title="系统设置" /}
{include file="layout/sidebar" /}
<div class="content-wrapper">
    <!-- Content Header (Page header) -->
    <section class="content-header">
        <h1>
            微信管理系统
            <small>系统设置</small>
        </h1>
        <ol class="breadcrumb">
            <li><a href="#"><i class="fa fa-dashboard"></i> 微信管理系统</a></li>
            <li class="active">系统设置</li>
        </ol>
    </section>

    <!-- Main content -->
    <section class="content">
        <div class="row">
            <div class="col-lg-6 col-xs-12">
                <script src="__PLUGIN__/iCheck/icheck.min.js"></script>
                <link rel="stylesheet" href="__PLUGIN__/iCheck/all.css">
                <div class="box box-info" style="width:100%;margin: 0 auto;">
                    <div class="box-header with-border">
                        <h3 class="box-title">系统参数</h3>
                    </div>
                    <!-- /.box-header -->
                    <!-- form start -->
                    <form class="form-horizontal" action="" method="post">
                        <div class="box-body">
                            <div class="form-group">
                                <label for="appid" class="col-sm-2 control-label">appid</label>
                                <div class="col-sm-10">
                                    <input type="text" class="form-control" id="appid" name="appid" placeholder="appid" value="{$config.appid}">
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="grade" class="col-sm-2 control-label">appsecret</label>
                                <div class="col-sm-10">
                                    <input type="text" class="form-control" id="appsecret" name="appsecret" placeholder="appsecret" value="{$config.appsecret}">
                                </div>
                            </div>   
                        </div>
                        <!-- /.box-body -->
                        <div class="box-footer">
                            {:token()}
                            <button type="reset" class="btn btn-default">重置</button>
                            <button type="submit" class="btn btn-info pull-right">提交</button>
                        </div>
                        <!-- /.box-footer -->
                    </form>
                </div>
            </div>
            <!-- ./col -->
            <div class="col-lg-6 col-xs-12">
                <!-- Horizontal Form -->
                <div class="box box-info" style="width:100%;margin: 0 auto;">
                    <div class="box-header with-border">
                        <h3 class="box-title">系统信息</h3>
                    </div>
                    <!-- /.box-header -->
                    
                    <div class="box-body">
                        {volist name='info' id='v'}
                        <div class="form-group">
                            <label for="school_id" class="col-sm-2 control-label">{$key}:</label>
                            <div class="col-sm-10">
                                <p style="padding:6px 12px;">{$v}</p>
                            </div>
                        </div>
                        {/volist}
                    </div>
                        <!-- /.box-body -->
                </div>
            </div>
        </div>

    </section>
    <!-- /.content -->
</div>
<script type="text/javascript">
    //jQuery代码
    $(function () {
        //iCheck for checkbox and radio inputs
        $('input[type="checkbox"].minimal, input[type="radio"].minimal').iCheck({
            checkboxClass: 'icheckbox_minimal-blue',
            radioClass: 'iradio_minimal-blue'
        });
    });
</script>
{include file="layout/footer" /}